package com.watson.value.controller;

import com.watson.value.service.impl.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @Description: TODO
 * @Author watson
 * @Date 2022/7/12 16:02
 * @Version 1.0
 */
@RestController
public class TestController {
    @Autowired
    TestServiceImpl testServiceimpl;


    @GetMapping("get")
    public void get() {
        testServiceimpl.get();
    }

    @GetMapping("demoList")
    public void demoList() {
        testServiceimpl.demoList();
    }

}
